# Makefile for compiling and running hello.c

# Compiler
CC = gcc

# Source file
SRC = hello.c

# Executable name
OUT = hello

# Default target
all: $(OUT)

# Compile the source file
$(OUT): $(SRC)
	$(CC) -o $(OUT) $(SRC)

# Run the program
run: $(OUT)
	./$(OUT)

# Clean the generated files
clean:
	rm -f $(OUT)

